package com.yilin.platform.base_core.tools.cmbc.entity.reconciliationOnline;


import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.List;

/*. 已填写调节表查询(QryVerifyAccRecList)*/
@XmlRootElement(name ="xDataBody" )
public class QryVerifyAccRecList {
    private  int allNum;//描述总笔数
    private List<AccRecListMap> accRecListMaps;
    private  String extendRep3;//////备用字段1
    private  String extendRep4;//////
    private  String extendRep5;//////

    public String getExtendRep3() {
        return extendRep3;
    }

    public void setExtendRep3(String extendRep3) {
        this.extendRep3 = extendRep3;
    }

    public String getExtendRep4() {
        return extendRep4;
    }

    public void setExtendRep4(String extendRep4) {
        this.extendRep4 = extendRep4;
    }

    public String getExtendRep5() {
        return extendRep5;
    }

    public void setExtendRep5(String extendRep5) {
        this.extendRep5 = extendRep5;
    }

    public int getAllNum() {
        return allNum;
    }

    public void setAllNum(int allNum) {
        this.allNum = allNum;
    }

    public List<AccRecListMap> getAccRecListMaps() {
        return accRecListMaps;
    }
    @XmlElementWrapper(name = "List")
    @XmlElement(name = "Map")
    public void setAccRecListMaps(List<AccRecListMap> accRecListMaps) {
        this.accRecListMaps = accRecListMaps;
    }
}
class AccRecListMap{
    private  String checkSeq;//对账单顺序号（★）
    private  String currency;//币种（★）
    private  String bankAcType;//账户性质 8
    private  String acNo;//账号
    private  String balance;//余额
    private  String dDeptName;//开户银行
    private  String openDate;//开户日期
    private  String status;//对账单状态
    private  String extendRep1;//////备用字段1
    private  String extendRep2;//////
    @XmlElement(name = "CheckSeq")
    public void setCheckSeq(String checkSeq) {
        this.checkSeq = checkSeq;
    }
    @XmlElement(name = "Currency")
    public void setCurrency(String currency) {
        this.currency = currency;
    }
    @XmlElement(name = "BankAcType")
    public void setBankAcType(String bankAcType) {
        this.bankAcType = bankAcType;
    }
    @XmlElement(name = "AcNo")
    public void setAcNo(String acNo) {
        this.acNo = acNo;
    }
    @XmlElement(name = "Balance")
    public void setBalance(String balance) {
        this.balance = balance;
    }
    @XmlElement(name = "DeptName")
    public void setdDeptName(String dDeptName) {
        this.dDeptName = dDeptName;
    }
    @XmlElement(name = "OpenDate")
    public void setOpenDate(String openDate) {
        this.openDate = openDate;
    }

    public void setStatus(String status) {
        if(status.equals("0")){
            this.status = "未填写";
        }else if(status.equals("1")){
            this.status = "已填写等待复核";
        }else if(status.equals("2")){
            this.status = "已提交银行";
        }else if(status.equals("3")){
            this.status = "驳回";
        }else{
            this.status = status;
        }
    }

    public void setExtendRep1(String extendRep1) {
        this.extendRep1 = extendRep1;
    }

    public void setExtendRep2(String extendRep2) {
        this.extendRep2 = extendRep2;
    }

    public String getCheckSeq() {
        return checkSeq;
    }

    public String getCurrency() {
        return currency;
    }

    public String getBankAcType() {
        return bankAcType;
    }

    public String getAcNo() {
        return acNo;
    }

    public String getBalance() {
        return balance;
    }

    public String getdDeptName() {
        return dDeptName;
    }

    public String getOpenDate() {
        return openDate;
    }

    public String getStatus() {
        return status;
    }

    public String getExtendRep1() {
        return extendRep1;
    }

    public String getExtendRep2() {
        return extendRep2;
    }
}
